package com.zjj.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.context.annotation.PropertySource;
import org.springframework.transaction.annotation.EnableTransactionManagement;

@Configuration
@ComponentScan({"com.zjj.mapper","com.zjj.service"})
//classpath---根目录寻找资源
@PropertySource({"classpath:log4j.properties","classpath:database.properties"})
@EnableAspectJAutoProxy//AOP
@EnableTransactionManagement//事务
public class SpringConfig {




}
